package com.duoec.demo.dubbo.dto.response;

import java.io.Serializable;
import java.util.List;

/**
 * 基础带分页的响应
 *
 * @author xuwenzhen
 * @date 2019/11/26
 */
public class PagedList<T extends Serializable> implements Serializable {
    /**
     * 列表数据
     */
    private List<T> list;

    /**
     * 总记录数
     *
     * @demo 120
     */
    private Integer total;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }
}